package com.monitor.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.monitor.dao.ErpInsuranceMapper;
import com.monitor.entity.ErpInsurance;
import com.monitor.service.ErpInsuranceService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 车辆保险 服务实现类
 * </p>
 *
 * @author LX
 * @since 2018-09-12
 */
@Service
public class ErpInsuranceServiceImpl extends ServiceImpl<ErpInsuranceMapper, ErpInsurance> implements ErpInsuranceService {

    @Resource
    private  ErpInsuranceMapper erpInsuranceMapper;

    @Override
    public List<ErpInsurance> getInsuranceByCustId(Integer custId) {
        return erpInsuranceMapper.getInsuranceByCustId(custId);
    }
}
